import request from '@/utils/request'
export default {
    //1 生成统计数据
    addhunning(hunning) {
        return request({
            url: '/gcservice/hunning/save',
            method: 'post',
            data:hunning
          })
    },
     
    //展示数据
    showhunning(current,limit) {
        return request({
            url: `/gcservice/hunning/hunningpage/${current}/${limit}`,
            method: 'post',
            
          })
    },

    //根据id查看混凝土记录
    showId(id){
        return request({
        url: `/gcservice/hunning/showId/${id}`,
        method: 'post',
        data:id
      })
    },

    //根据id删除混凝土记录
    deleteId(id){
        return request({
            url: `/gcservice/hunning/${id}`,
            method: 'delete',
            
          })
    },
}